<?php
	session_start();
	include 'db.php'; //get database
	include 'inc/header.php'; //get header
	$_SESSION['req_name'] = NULL;
	$_SESSION['req_email'] = NULL;
	$_SESSION['req_company'] = NULL; 
	$_SESSION['req_contact'] = NULL;
	$_SESSION['req_qses'] = NULL; 
	$getitems = mysql_query("SELECT * FROM items");
	while($geti = mysql_fetch_array($getitems)){
		if($geti['itemId'] == $_SESSION['item_'.$geti['itemId']]){
			$_SESSION['item_'.$geti['itemId']] = NULL;
			$_SESSION['item_'.$geti['itemId'].'_qty'] = NULL;
		}
	}
?>
<!DOCTYPE HTML>
<html>
    <head>
    <meta charset=utf-8>
    <title>LEDLAMPS</title>
    <script src="http://code.jquery.com/jquery-latest.min.js" type="text/javascript"></script>
    <script src="js/modernizr-1.7.min.js"></script><!-- this is the javascript allowing html5 to run in older browsers -->
    
    <link rel="stylesheet" type="text/css" href="css/reset.css" media="screen" title="html5doctor.com Reset Stylesheet" />
    
    <link rel="stylesheet" href="css/default.css" type="text/css" media="screen" />
    <link rel="stylesheet" href="css/nivo-slider.css" type="text/css" media="screen" />
    <link rel="stylesheet" href="css/bootstrap.min.css" type="text/css" media="screen" />
    
    <!-- in the CSS3 stylesheet you will find examples of some great new features CSS has to offer -->
    <link rel="stylesheet" type="text/css" href="css/css3.css" media="screen" />
    
    <!-- general stylesheet contains some default styles, you do not need this, but it helps you keep a uniform style -->
    <link rel="stylesheet" type="text/css" href="css/general.css" media="screen" />
    
    <!-- grid's will help you keep your website appealing to your users, view 52framework.com website for documentation -->
    <link rel="stylesheet" type="text/css" href="css/grid.css" media="screen" />
    
    <!-- the following style is for demonstartion purposes only and is not needed for anything but inspiration -->
    <style>
		
	</style>
    <!--[if IE]> <style> .report_bugs {left:0px;} </style>	<![endif]-->
    </head>

<body>
<?php get_header(''); ?>



<!-- start three-box-wrap -->
<section class="row three-box-wrap" id="styled">
	<?php
		switch(@$_GET['ac']){
			case 'rq':
	?>
    <div class="" align="center">
    	<h1 >We're glad to do a business with you.</h1>
       <p>
       	Your quote has been submitted. Our dedicated sales agents will give you a response within 24 hours thank you. 
       </p>
    </div>
    	
    <?php		
			break;
			default:
				echo "<script type=\"text/javascript\">
					window.location=\"http://ledlampsuae.com/dev/notfound.html\";
				</script>
				";			
			break;
		}
	?>
	
</section>
<!-- end three-box-wrap -->



<footer class="row">
	<div class="col_16 col">all rights reserved &copy; <a href="#">LEDLAMPS</a> |  </div>
</footer>
<script type="text/javascript" src="js/jquery.nivo.slider.js"></script>
    <script type="text/javascript">
    $(window).load(function() {
        $('#slider').nivoSlider();
    });
    </script>
</body>
</html>
